Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Effect Source Descriptors

These data structures describe the sources to an effect. The SourceData data structure contains a pointer to raw image compression manager image data, if the effect is being executed outside of a QuickTime movie, or to an effect that acts as the source, if the effect is being executed as part of an effect track in a QuickTime movie. The EffectSourcePtr data structure holds information about the type of source, as well as pointers to the track data of the effect and to the next source in the input chain.

typedef struct EffectSource     EffectSource;
typedef EffectSource            *EffectSourcePtr;
union SourceData {
    CDSequenceDataSourcePtr image;
    EffectSourcePtr     effect;
};
typedef union SourceData SourceData;

Field descriptions

image
A pointer to the raw source image data.

effect
A pointer to the effect.

struct EffectSource {
    long                effectType;
    Ptr                 data;
    SourceData          source;
    EffectSourcePtr     next;
};

Field descriptions

effectType
The type of the effect or the constant kEffectRawSource if the source is raw image compression manager data.

data
A pointer to the track data for the effect.

source
The source itself.

next
A pointer to the next source in the input chain.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |